﻿﻿// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.

using System;
using Microsoft.ServiceBus.Messaging;

namespace Nardax.Azure.ServiceBus
{
    public interface IQueueClient
    {
        IAsyncResult BeginReceive(TimeSpan serverWaitTime, AsyncCallback callback, object state);

        BrokeredMessage EndReceive(IAsyncResult result);

        void Close();

        int PrefetchCount { get; set; }

        bool IsEmpty { get; set; }
    }
}